package istar.impl;

import istar.IActor;
import istar.IBasicElement;

public abstract class AbstractBasicTask extends Task implements IBasicElement{

	//private Behaviour behaviour;
	
	public AbstractBasicTask(String name) {
		super(name);
	}

	public AbstractBasicTask(String name, double cost) {
		super(name, cost);
	}

	public AbstractBasicTask(String name, IActor actor, Object[] params) {
		super(name, actor, params);
	}

	public AbstractBasicTask(String name, IActor actor) {
		super(name, actor);
	}

	@Override
	public Object clone(IActor newOwner) throws CloneNotSupportedException {
		AbstractBasicTask newClone = (AbstractBasicTask)super.clone(newOwner);
		return newClone;
	}
	
	
	@Override
	public boolean isBasic() {
		return true;
	}


}
